
package com.ecommerce.model;
import java.io.Serializable;
public class SearchWordData implements Serializable {
    private String keyword;
    private String wordType;
    private Integer searchCount;
    private Double growthRate;
    private Double supplyDemandRatio;
    private String category;
    private Long timestamp;
    private Integer rank;
    private String rankType;

    // Constructors, Getters and Setters
    public SearchWordData() {}

    public SearchWordData(String keyword, String wordType, Integer searchCount, 
                         Double growthRate, Double supplyDemandRatio, String category, 
                         Long timestamp, Integer rank, String rankType) {
        this.keyword = keyword;
        this.wordType = wordType;
        this.searchCount = searchCount;
        this.growthRate = growthRate;
        this.supplyDemandRatio = supplyDemandRatio;
        this.category = category;
        this.timestamp = timestamp;
        this.rank = rank;
        this.rankType = rankType;
    }

    // Getters and Setters...
    public String getKeyword() { return keyword; }
    public void setKeyword(String keyword) { this.keyword = keyword; }

    public String getWordType() { return wordType; }
    public void setWordType(String wordType) { this.wordType = wordType; }

    public Integer getSearchCount() { return searchCount; }
    public void setSearchCount(Integer searchCount) { this.searchCount = searchCount; }

    public Double getGrowthRate() { return growthRate; }
    public void setGrowthRate(Double growthRate) { this.growthRate = growthRate; }

    public Double getSupplyDemandRatio() { return supplyDemandRatio; }
    public void setSupplyDemandRatio(Double supplyDemandRatio) { this.supplyDemandRatio = supplyDemandRatio; }

    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }

    public Long getTimestamp() { return timestamp; }
    public void setTimestamp(Long timestamp) { this.timestamp = timestamp; }

    public Integer getRank() { return rank; }
    public void setRank(Integer rank) { this.rank = rank; }

    public String getRankType() { return rankType; }
    public void setRankType(String rankType) { this.rankType = rankType; }

    @Override
    public String toString() {
        return "SearchWordData{" +
                "keyword='" + keyword + '\'' +
                ", wordType='" + wordType + '\'' +
                ", searchCount=" + searchCount +
                ", growthRate=" + growthRate +
                ", rank=" + rank +
                ", rankType='" + rankType + '\'' +
                '}';
    }}